package com.jxpanda.spring.module.auth.core.token;

import org.springframework.security.oauth2.core.OAuth2RefreshToken;

import java.time.Instant;

public class EmptyRefreshToken extends OAuth2RefreshToken {
    private static final String TOKEN_VALUE = "EMPTY";

    public EmptyRefreshToken() {
        super(TOKEN_VALUE, Instant.now());
    }

    @Override
    public String getTokenValue() {
        return "";
    }
}
